package com.my.chapter2;

import java.util.List;

/**
 * @author: marshal
 * @date: 2021-09-14 2:13 PM
 * <p>
 * Consider static factory methods instead of constructors
 */
public class Item1 {
    public static void main(String[] args) {
        var b = Boolean.valueOf("true");
        var ten = String.valueOf(10);
        var list = List.of("a", "b");
    }
}
